#!/bin/sh

# Required:
#  * python-ctypeslib
#
#  * gccxml
#     checkout recent repository and build with
#     "mkdir build", "cd build", "cmake ../", "make"
#     and "sudo make install"
#
#  * /usr/local/include/faad.h
#  * /usr/local/lib/libfaad2.dylib
#     get faad source and build with "./bootstrap",
#     "./configure", "make" and "sudo make install"

h2xml.py faad.h -o xmls/faad_mac.xml -q -c
xml2py.py xmls/faad_mac.xml -o pyfaad/faad/faad_mac.py -l libfaad.dylib

